package com.xinqi.modules.databank.dto.rsp.question;

import com.xinqi.common.base.dto.CommonFileDTO;
import com.xinqi.modules.databank.dto.rsp.StudentScoreResultDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author linkai
 * @date 2023/3/25
 */
@Data
@Schema(description = "题目选项信息对象")
public class QuestionOptionsAnalysisDTO {
    /**
     * 原始选项
     */
    @Schema(description = "原始选项", example = "A")
    private String primaryId;

    @Schema(description = "id", example = "A")
    private String id;

    @Schema(description = "选项", example = "1")
    private Integer selected;

    @Schema(description = "值", example = "数学")
    private String val;

    @Schema(name = "fileUrls", description = "文件列表", example = "")
    private List<CommonFileDTO> fileUrls;
    /**
     * 学生是否选择当前选项
     */
    @Schema(description = "学生是否选择当前选项")
    private Integer studentCheck;

    /**
     * 选中比例
     */
    @Schema(description = "选中比例")
    private BigDecimal selectRate;

    /**
     * 选中人数
     */
    @Schema(description = "选中人数")
    private Integer studentNum;

    /**
     * 选中人集合
     */
    @Schema(description = "选中人集合")
    private List<StudentScoreResultDTO> studentList;

}
